from django.utils.safestring import mark_safe
from django.contrib import admin
from django.urls import reverse

from .models import *

# Register your models here.


class shengAdmin(admin.ModelAdmin):
    list_display = ('name',)

admin.site.register(sheng,shengAdmin)

class cityAdmin(admin.ModelAdmin):
    list_display = ('sheng','name',)
admin.site.register(city,cityAdmin)


class quAdmin(admin.ModelAdmin):
    list_display = ('city','name',)
admin.site.register(qu,quAdmin)


class insertAdmin(admin.ModelAdmin):
    change_form_template = 'admin/extras/record_change_form.html'

    list_display = ('name','a','b','c',)
admin.site.register(insert,insertAdmin)